package cn.com.wantools.model.base;

import com.jfinal.plugin.activerecord.IBean;
import io.jboot.db.model.JbootModel;

public abstract class BaseUcExchangeQueryConfig <M extends BaseUcExchangeQueryConfig<M>> extends JbootModel<M> implements IBean {
    public Long getId() {
        return getLong("id");
    }
    public String getType() {
        return getStr("type");
    }

    public String getName() {
        return getStr("name");
    }

    public String getAppKey() {
        return getStr("app_key");
    }

    public String getAppSecret() {
        return getStr("app_secret");
    }

    public String getUrlPattern() {
        return getStr("url_pattern");
    }

    public String getRemark() {
        return getStr("remark");
    }

    public void setId(Long id) {
        set("id", id);
    }

    public void setType(String type) {
        set("type", type);
    }

    public void setName(String name) {
        set("name", name);
    }

    public void setAppKey(String appKey) {
        set("app_key", appKey);
    }

    public void setAppSecret(String appSecret) {
        set("app_secret", appSecret);
    }

    public void setUrlPattern(String urlPattern) {
        set("url_pattern", urlPattern);
    }

    public void setRemark(String remark) {
        set("remark", remark);
    }
}
